<template>
  <div id="app">
    <router-link to="/">home</router-link>
    <router-link to="/about/12121" style="margin-left: 10px">about</router-link>
    <router-view></router-view>

    <p>{{ title }}</p>
    <button @click="setTitle">click</button>

    <!--    <el-button :circle="true">primary</el-button>-->
  </div>
</template>

<script lang="tsx">
import { Component, Vue } from "vue-property-decorator";
import HelloWorld from "./components/HelloWorld.vue";

import { store } from "@/store/store";
import { router } from "@/route";

@Component({
  components: {
    HelloWorld
  },
  store,
  router
})
export default class App extends Vue {
  public title: string = "12121";

  public setTitle() {
    this.title = "11";
  }

}


</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}


</style>
